import javax.naming.Name;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/4/8 10:14
 * @description:
 */
public class Company {
private  String name;

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public int getNum() {
    return num;
  }

  public void setNum(int num) {
    this.num = num;
  }


  private  int num;
  Company(){}
  Company(String name,int num) {
    this.name = name;
    this.num = num;
  }
  void output(){
    System.out.println(name+"公司，员工数："+num);
  }
}
